# QEMU
QEMU 					?= qemu-system-aarch64
# for update-binfmts
QEMU_BINFMT 			?= qemu-aarch64

# QEMU options
QEMU_GIC_VER			?= 3

QEO_CPU					+= -cpu cortex-a57
# qemu 2.11 do not support mte
ifeq ($(ARM_TEE),1)
QEO_MACH				+= -M type=virt,mte=off,virtualization=false,gic-version=$(QEMU_GIC_VER),secure=on
else
QEO_MACH				+= -M type=virt,mte=off,virtualization=false,gic-version=$(QEMU_GIC_VER)
endif

# for atf
QEO_SEMIHOST			+= -semihosting -semihosting-config enable=on,target=native
